package com.csun.nusing.bean.jsonbean;

import java.util.List;

/**
 * 作者: Created by fzq on 2018/2/12 15:47
 * 邮箱: 15997123593@163.com
 */
public class SearchOlderInfoJsonBean {

    /**
     * status : true
     * message : 查询单个老人信息成功
     * data : {"birthday":"1942-11-17","outReason":null,"roomNo":null,"sex":1,"bedId":null,"headpicture":"http://scun-yun-oos1.oss-cn-shanghai.aliyuncs.com/nursing/pic/20171117194836968/temphead.jpg","userName":"fa_00000_631510919356192","headPic":42,"roomId":null,"buildingId":null,"buildingName":null,"phone":"15997123593","Valid":1,"egContact":"sxd","createId":24,"bedNo":null,"name":"fd","id":47,"egPhone":"15997123593","family":[{"familyId":24,"FamilyPhone":"15997123593","RealName":"","relationship":"xd"}],"homeId":null,"age":76,"status":0}
     */

    private boolean status;
    private String message;
    private SearchOlderInfoDataBean data;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public SearchOlderInfoDataBean getData() {
        return data;
    }

    public void setData(SearchOlderInfoDataBean data) {
        this.data = data;
    }

    public static class SearchOlderInfoDataBean {
        /**
         * birthday : 1942-11-17
         * outReason : null
         * roomNo : null
         * sex : 1
         * bedId : null
         * headpicture : http://scun-yun-oos1.oss-cn-shanghai.aliyuncs.com/nursing/pic/20171117194836968/temphead.jpg
         * userName : fa_00000_631510919356192
         * headPic : 42
         * roomId : null
         * buildingId : null
         * buildingName : null
         * phone : 15997123593
         * Valid : 1
         * egContact : sxd
         * createId : 24
         * bedNo : null
         * name : fd
         * id : 47
         * egPhone : 15997123593
         * family : [{"familyId":24,"FamilyPhone":"15997123593","RealName":"","relationship":"xd"}]
         * homeId : null
         * age : 76
         * status : 0
         */

        private String birthday;
        private String outReason;
        private String roomNo;
        private String sex;
        private String bedId;
        private String headpicture;
        private String userName;
        private String headPic;
        private String roomId;
        private String buildingId;
        private String buildingName;
        private String phone;
        private int Valid;
        private String egContact;
        private int createId;
        private String bedNo;
        private String name;
        private int id;
        private String egPhone;
        private String homeId;
        private String age;
        private int status;
        private List<FamilyBean> family;

        public String getBirthday() {
            return birthday;
        }

        public void setBirthday(String birthday) {
            this.birthday = birthday;
        }

        public String getOutReason() {
            return outReason;
        }

        public void setOutReason(String outReason) {
            this.outReason = outReason;
        }

        public String getRoomNo() {
            return roomNo;
        }

        public void setRoomNo(String roomNo) {
            this.roomNo = roomNo;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public String getBedId() {
            return bedId;
        }

        public void setBedId(String bedId) {
            this.bedId = bedId;
        }

        public String getHeadpicture() {
            return headpicture;
        }

        public void setHeadpicture(String headpicture) {
            this.headpicture = headpicture;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getHeadPic() {
            return headPic;
        }

        public void setHeadPic(String headPic) {
            this.headPic = headPic;
        }

        public String getRoomId() {
            return roomId;
        }

        public void setRoomId(String roomId) {
            this.roomId = roomId;
        }

        public String getBuildingId() {
            return buildingId;
        }

        public void setBuildingId(String buildingId) {
            this.buildingId = buildingId;
        }

        public String getBuildingName() {
            return buildingName;
        }

        public void setBuildingName(String buildingName) {
            this.buildingName = buildingName;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public int getValid() {
            return Valid;
        }

        public void setValid(int Valid) {
            this.Valid = Valid;
        }

        public String getEgContact() {
            return egContact;
        }

        public void setEgContact(String egContact) {
            this.egContact = egContact;
        }

        public int getCreateId() {
            return createId;
        }

        public void setCreateId(int createId) {
            this.createId = createId;
        }

        public String getBedNo() {
            return bedNo;
        }

        public void setBedNo(String bedNo) {
            this.bedNo = bedNo;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getEgPhone() {
            return egPhone;
        }

        public void setEgPhone(String egPhone) {
            this.egPhone = egPhone;
        }

        public String getHomeId() {
            return homeId;
        }

        public void setHomeId(String homeId) {
            this.homeId = homeId;
        }

        public String getAge() {
            return age;
        }

        public void setAge(String age) {
            this.age = age;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public List<FamilyBean> getFamily() {
            return family;
        }

        public void setFamily(List<FamilyBean> family) {
            this.family = family;
        }

        public static class FamilyBean {
            /**
             * familyId : 24
             * FamilyPhone : 15997123593
             * RealName :
             * relationship : xd
             */

            private int familyId;
            private String FamilyPhone;
            private String RealName;
            private String relationship;

            public int getFamilyId() {
                return familyId;
            }

            public void setFamilyId(int familyId) {
                this.familyId = familyId;
            }

            public String getFamilyPhone() {
                return FamilyPhone;
            }

            public void setFamilyPhone(String FamilyPhone) {
                this.FamilyPhone = FamilyPhone;
            }

            public String getRealName() {
                return RealName;
            }

            public void setRealName(String RealName) {
                this.RealName = RealName;
            }

            public String getRelationship() {
                return relationship;
            }

            public void setRelationship(String relationship) {
                this.relationship = relationship;
            }
        }
    }
}
